import request from '@/utils/request'

// 查询基金清算列表
export function listFundLiquidation(fundId) {
  return request({
    url: '/liquidation/fundLiquidation/list',
    method: 'get',
    params: { 'fundId': fundId }
  })
}

// 保存基金清算
export function saveLiquidation(data) {
  return request({
    url: '/liquidation/fundLiquidation/save',
    method: 'post',
    data: data
  })
}

// 删除基金清算
export function delFundLiquidation(id) {
  return request({
    url: '/liquidation/fundLiquidation/' + id,
    method: 'delete'
  })
}
